package com.zhang.buiness.amaster.reportserver.web;

import com.zhang.buiness.amaster.reportserver.service.ReportServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/env")
public class ReoportWebController {

    @Autowired
    private ReportServiceImpl reportService;


    @RequestMapping("/get/report/ribbion/alone/use/v1")
    private List<String> getEnvConfig(){
      return  reportService.ribbionAloneUse("amaster-work-server","/amaster-work-server/env/get/env/all/v1");

    }


}
